package cn.iocoder.yudao.framework.business.basic.pojo.po;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 含树形结构的数据库表实体，由子类继承
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/04/06
 */
@Data
@NoArgsConstructor
public abstract class TreeEntity extends BaseEntity {

    /**
     * 父级编号
     */
    private Long parentId;
    /**
     * 关系全路径，每一级的上级编号之间用逗号分隔
     */
    private String relationPath;

}
